<template>
    <h2>父组件</h2>
    <!-- 使用插槽 -->
    <SlotSon1><p>123</p></SlotSon1>
    <hr>
    <SlotSon1><a href="https://www.baidu.com">百度首页</a></SlotSon1>
    <hr>
    <SlotSon1></SlotSon1>
</template>
<script setup>
import SlotSon1 from './components/SlotSon1.vue'
</script>
<style scoped>
    
</style>